﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;
using DTO;

namespace BLL
{
	public class KHOBUS
	{
		public static DataTable GetListKHO()
		{
			KHODAO b = new KHODAO();
			return b.GetListKHO();
		}
		public static List<KHOS> GetListKHOs()
		{
			KHODAO b = new KHODAO();
			return b.GetListKHOs();
		}
		public static String CreateNewID()
		{
			KHODAO b = new KHODAO();
			return b.CreatenewId();
		}
		public static bool INSERT(KHOS kh)
		{
			KHODAO b = new KHODAO();
			return b.INSERT(kh);
		}
		public static bool UPDATE(KHOS kh)
		{
			KHODAO b = new KHODAO();
			return b.UPDATE(kh);
		}
		public static bool DELETE(KHOS kh)
		{
			KHODAO b = new KHODAO();
			return b.DELETE(kh);
		}
	}
}
